class AppointmentListModel {
  int id;
  String memberNickname;
  String memberHead;
  int gold;
  String createtime;
  String endtime;
  int status;
  int memberExp;
  String memberToken;
  int anchorStarts;
  String uid;
  int disturb;
  dynamic online;

  AppointmentListModel(
      {this.id,
      this.memberNickname,
      this.memberHead,
      this.gold,
      this.createtime,
      this.endtime,
      this.status,
      this.memberExp,
      this.memberToken,
      this.anchorStarts,
      this.uid,
      this.disturb,
      this.online});

  AppointmentListModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    memberNickname = json['member_nickname'];
    memberHead = json['member_head'];
    gold = json['gold'];
    createtime = json['createtime'];
    endtime = json['endtime'];
    status = json['status'];
    memberExp = json['member_exp'];
    memberToken = json['member_token'];
    anchorStarts = json['anchor_starts'];
    uid = json['uid'];
    disturb = json['disturb'];
    online = json['online'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['member_nickname'] = this.memberNickname;
    data['member_head'] = this.memberHead;
    data['gold'] = this.gold;
    data['createtime'] = this.createtime;
    data['endtime'] = this.endtime;
    data['status'] = this.status;
    data['member_exp'] = this.memberExp;
    data['member_token'] = this.memberToken;
    data['anchor_starts'] = this.anchorStarts;
    data['uid'] = this.uid;
    data['disturb'] = this.disturb;
    data['online'] = this.online;
    return data;
  }
}
